package cn.skyclass.events
{
	import flash.events.Event;
	
	public class WindowEvent extends Event
	{
		public static const MIN:String = "min";
		public static const MAX:String = "max";
		public static const CLOSE:String = "close";
		public static const REVERT:String = "revert";
		
		public static const BACK:String = "back";
		public static const DESKTOP:String = "desktop";
				
		public var data:Object;
		
		public function WindowEvent(type:String, data:Object=null){
			super(type);
			this.data = data;
		}
		
		override public function clone():Event{
			return new WindowEvent(this.type, this.data);
		}				
	}
}